﻿#ifndef CMDTBFLUSHTBBYSELECTEDROW_H
#define CMDTBFLUSHTBBYSELECTEDROW_H
#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    class CmdTbFlushTbBySelectedRow : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdTbFlushTbBySelectedRow();
        ~CmdTbFlushTbBySelectedRow();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setWindowId(int windowId) { m_windowId = windowId; }
        void setParms(QString parms) { m_parms = parms; }

    private:    
        int m_windowId;
        QString m_parms;


    };
}

#endif // !CMDTBFLUSHTBBYSELECTEDROW_H




